// stores/useAiQuestionStore.ts
import { defineStore } from 'pinia'

export const useAiQuestionStore = defineStore('aiQuestion', {
  state: () => ({
    titles: [] as string[]
  }),
  actions: {
    setTitles(titles: string[]) {
      this.titles = titles
    },
    clearTitles() {
      this.titles = []
    }
  }
})
